package com.caipin.domain.web;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:55
 * @Description: TODO
 */
public class StudentTemperature {
    private Long id;

    private String date;

    private String name;

    private String gender;

    private String grade;

    private String clbum;

    private String morning;

    private String midday;

    public com.caipin.domain.web.StudentTemperature setId(Long id) {
        this.id = id;
        return this;
    }

    public com.caipin.domain.web.StudentTemperature setDate(String date) {
        this.date = date;
        return this;
    }

    public com.caipin.domain.web.StudentTemperature setName(String name) {
        this.name = name;
        return this;
    }

    public com.caipin.domain.web.StudentTemperature setGender(String gender) {
        this.gender = gender;
        return this;
    }

    public com.caipin.domain.web.StudentTemperature setGrade(String grade) {
        this.grade = grade;
        return this;
    }

    public com.caipin.domain.web.StudentTemperature setClbum(String clbum) {
        this.clbum = clbum;
        return this;
    }

    public com.caipin.domain.web.StudentTemperature setMorning(String morning) {
        this.morning = morning;
        return this;
    }

    public com.caipin.domain.web.StudentTemperature setMidday(String midday) {
        this.midday = midday;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.web.StudentTemperature))
            return false;
        com.caipin.domain.web.StudentTemperature other = (com.caipin.domain.web.StudentTemperature)o;
        if (!other.canEqual(this))
            return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id))
            return false;
        Object this$date = getDate(), other$date = other.getDate();
        if ((this$date == null) ? (other$date != null) : !this$date.equals(other$date))
            return false;
        Object this$name = getName(), other$name = other.getName();
        if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name))
            return false;
        Object this$gender = getGender(), other$gender = other.getGender();
        if ((this$gender == null) ? (other$gender != null) : !this$gender.equals(other$gender))
            return false;
        Object this$grade = getGrade(), other$grade = other.getGrade();
        if ((this$grade == null) ? (other$grade != null) : !this$grade.equals(other$grade))
            return false;
        Object this$clbum = getClbum(), other$clbum = other.getClbum();
        if ((this$clbum == null) ? (other$clbum != null) : !this$clbum.equals(other$clbum))
            return false;
        Object this$morning = getMorning(), other$morning = other.getMorning();
        if ((this$morning == null) ? (other$morning != null) : !this$morning.equals(other$morning))
            return false;
        Object this$midday = getMidday(), other$midday = other.getMidday();
        return !((this$midday == null) ? (other$midday != null) : !this$midday.equals(other$midday));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.web.StudentTemperature;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $date = getDate();
        result = result * 59 + (($date == null) ? 43 : $date.hashCode());
        Object $name = getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        Object $gender = getGender();
        result = result * 59 + (($gender == null) ? 43 : $gender.hashCode());
        Object $grade = getGrade();
        result = result * 59 + (($grade == null) ? 43 : $grade.hashCode());
        Object $clbum = getClbum();
        result = result * 59 + (($clbum == null) ? 43 : $clbum.hashCode());
        Object $morning = getMorning();
        result = result * 59 + (($morning == null) ? 43 : $morning.hashCode());
        Object $midday = getMidday();
        return result * 59 + (($midday == null) ? 43 : $midday.hashCode());
    }

    public String toString() {
        return "StudentTemperature(id=" + getId() + ", date=" + getDate() + ", name=" + getName() + ", gender=" + getGender() + ", grade=" + getGrade() + ", clbum=" + getClbum() + ", morning=" + getMorning() + ", midday=" + getMidday() + ")";
    }

    public Long getId() {
        return this.id;
    }

    public String getDate() {
        return this.date;
    }

    public String getName() {
        return this.name;
    }

    public String getGender() {
        return this.gender;
    }

    public String getGrade() {
        return this.grade;
    }

    public String getClbum() {
        return this.clbum;
    }

    public String getMorning() {
        return this.morning;
    }

    public String getMidday() {
        return this.midday;
    }
}

